package com.cruise.h5.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cruise.h5.pojo.dto.*;
import com.cruise.h5.pojo.entity.VideoComment;
import com.cruise.h5.pojo.vo.CommentListVO;
import com.cruise.h5.pojo.vo.ReplyListOfCommentVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cruise
 * @since 2021-03-25
 */
public interface VideoCommentService extends IService<VideoComment> {

    /**
     * comment
     * @param videoCommentDTO
     */
    void comment(VideoCommentDTO videoCommentDTO);

    /**
     *
     * @param commentListDTO
     * @return
     */
    IPage<CommentListVO> commentList(CommentListDTO commentListDTO);

    CommentListVO oneComment(String commentId);

    IPage<ReplyListOfCommentVO> replyListOfComment(ReplyListOfCommentDTO replyListOfCommentDTO);

    void reply(VideoReplyDTO videoCommentDTO);

    Integer like(LikeDTO likeDTO);
}
